package com.ruoyi.share.service;

import com.alibaba.fastjson.JSONObject;
import com.alipay.api.AlipayApiException;
import org.springframework.web.servlet.function.ServerResponse;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface AliPayTGPService {
   public Map toPayment(JSONObject jsonObject,  HttpServletResponse response) throws IOException;
   public String PaymentRES(Map<String,String> params);
   public void doPost(JSONObject params) throws AlipayApiException;
}
